package com.xqboss.apps.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Trent
 * @date 2023/8/31
 */
@Data
@ApiModel
public class ApproveGetUserInfoDto {

    @ApiModelProperty("接口调用凭证")
    @NotNull(message = "接口凭证错误")
    private String accessToken;

    @ApiModelProperty("用户信息获取凭证")
    @NotNull(message = "授权码错误")
    private String code;

}
